//
//  XMStatusNormalCell.swift
//  XMWeibo-Swift
//
//  Created by 育鑫 王 on 15/11/2.
//  Copyright © 2015年 育鑫 王. All rights reserved.
//

import UIKit

// 原创微博cell
class XMStatusNormalCell : XMStatusCell {
    
    override func prepareUI() {
        super.prepareUI()
        
        // 图片视图
        let cons = pictureView.ff_AlignVertical(type: ff_AlignType.BottomLeft, referView: contentLabel, size: CGSize(width: 0, height: 0), offset: CGPoint.init(x: 0, y: 8))
        // 获取配图视图的宽度约束
        pictureViewWidthCons = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Width)
        // 获取配图视图的高度约束
        pictureViewHeightCons = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Height)

    }
    
    
    
}
